import React, { useEffect, useState } from 'react';
import { connect } from 'umi';

const Index = (props) => {
  const { dispatch, children } = props;
  useEffect(() => {
    dispatch && dispatch({
      type: 'infoModel/getBaseOptions',
    });
  }, [])
  return children;
};

export default connect(({  }) => ({

}))(Index);
